package com.grao.waterschool.human.entiry.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wschool.t_wschool_user_role_link")
public class TWschoolUserRoleLink implements Serializable {
    @TableId(value = "id", type = IdType.NONE)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "teacher_num")
    private Integer teacherNum;

    /**
     * 角色id
     */
    @TableField(value = "roleId")
    private Integer roleid;

    private static final long serialVersionUID = 1L;
}